<template>
<div class="home">
  <h2>
    doubleCounter:{{doubleCounter}}
  </h2>
  <h3>
    userTotalAge:{{totalAge}}
  </h3>
  <h2>
    message:{{message}}
  </h2>
  <h2>
    id-111的用户信息：{{getUesrById(111)}}
  </h2>
  <h2>
    id-112的用户信息：{{getUesrById(112)}}
  </h2>
</div>
</template>

<script>
import {mapGetters} from 'vuex'

export default{
  computed:{
    ...mapGetters(['doubleCounter','totalAge','message']),
    ...mapGetters(['getUesrById'])
  }
}

</script>



<style scoped>

</style>